//
//  ListView.h
//  DropDownList
//
//  Created by yuanyuan on 14-10-9.
//  Copyright (c) 2014年 CaoMao. All rights reserved.
//

#import <UIKit/UIKit.h>

@class ListView;
@protocol ListViewDelegate <NSObject>
//协议方法 将值设置为nil
-(void)releaseValuePost:(ListView *)sender;

-(void)btnTitle:(NSString *)aaa;

@end


@interface ListView : UIView<UITableViewDataSource,UITableViewDelegate>

@property (nonatomic ,retain) UIButton *btn;
@property (nonatomic ,retain) NSArray *list;
@property (nonatomic ,retain) UITableView *tableView;

-(id)ShowListView:(UIButton *)button andFloat:(CGFloat)heigh andArray:(NSArray *)array;

-(void)hidenListView:(UIButton *)button;

@property (nonatomic ,retain) id<ListViewDelegate>delegate;


@end
